package com.cskaoyan.bean.mini_program_coupon;
/*
 * @author 魏骏杰
 */

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class CouponUserPOJO {
    private Integer id;
    private Integer user_id;
    private Integer coupon_id;
    private Integer status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date used_time;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date start_time;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date end_time;
    private Integer order_id;
    private Date add_time;
    private Date update_time;
    private Integer deleted;

    private Integer limit;
    private Integer time_type;
    private Integer days;
    private Integer hasExchange;
}
